<script setup lang="ts">
// import {onMounted} from "vue";
// import {router} from "@/router";
// onMounted(()=>{
//   const item = localStorage.getItem("userInfo");
//   if(item === undefined || item === null){
//     router.push("/user")
//   }
// })
</script>

<template>
 <div>
   <h2>这是一个主页</h2>
 </div>
</template>

<style scoped>

</style>